package com.meirengu.webview.service;

import com.meirengu.service.BaseService;
import com.meirengu.webview.model.KwZhudaiFilter;
import com.meirengu.webview.model.User;
import com.meirengu.webview.model.UserInfo;

import java.util.List;
import java.util.Map;

/**
 * KwZhudaiFilter服务接口
 *
 * @author Mao
 * @create Wed May 09 11:06:38 CST 2018
 */
public interface KwZhudaiFilterService extends BaseService<KwZhudaiFilter> {

    /**
     * 发送助贷网接口
     * 过滤条件
     * 1有房、有车、有寿险保单（满足一个或多个属性皆可）；
     * 2年龄25-55岁（含）
     * 3城市
     *
     * @param userInfo
     * @param user
     * @throws Exception
     */
    boolean sendZhuDai(UserInfo userInfo, User user) throws Exception;

    List<KwZhudaiFilter> getModel(Map map) throws Exception;
}
